package com.liangwj.springbootdesignpatterns.structureTypePatterns.bridge.demo_1;


import com.liangwj.springbootdesignpatterns.structureTypePatterns.bridge.demo_1.impl.*;

public class BridgeDemoTest {

    public static void main(String[] args) {
        Shape redCircle = new Circle(100, 200, 5, new RedCircle());
        Shape greenCircle = new Circle(200, 300, 10, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }
}
